package forms;
import javax.swing.JFrame;
import javax.swing.JLabel;

public class forms {

    public static void main(String[] args) {

        JFrame form1 = new JFrame();
        JFrame form2 = new JFrame();

form1.setSize(50, 200);
form1.setTitle("Formulário 1");

form2.setSize(400, 50);
form2.setTitle("Formulário 2");

JLabel label1 = new JLabel("form 1", 15);
    form1.add(label1);

    JLabel label2 = new JLabel("form 2", 15);
    form2.add(label2);

        form1.setVisible(true);

    form1.pack();
//        form2.pack();
}
}
